package com.xhwl.data.pojo.dto.personal;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;
@Data
public class EnterpriseTreeDTO {

    private Integer id;

    private String name;

    /**
     * 企业类型 1 运营商 2 入驻企业 3 服务商
     */
    private String type;

    private Integer relationId;

    private String parentId;

    private List<EnterpriseTreeDTO> children = new ArrayList<>();

    private boolean hasChild;

}
